# Copyright (c) Mengning Software. 2023. All rights reserved.
#
# Super IDE licensed under GNU Affero General Public License v3 (AGPL-3.0) .
# You can use this software according to the terms and conditions of the AGPL-3.0.
# You may obtain a copy of AGPL-3.0 at:
#
#    https://www.gnu.org/licenses/agpl-3.0.txt
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
# PURPOSE.
# See the AGPL-3.0 for more details.


from installer import (
    __author__,
    __description__,
    __email__,
    __license__,
    __title__,
    __url__,
    __version__,
)
from setuptools import find_packages, setup

setup(
    name=__title__,
    version=__version__,
    description=__description__,
    long_description=open("README.rst").read(),
    author=__author__,
    author_email=__email__,
    url=__url__,
    license=__license__,
    install_requires=[
        # Core
        "click==8.0.4",  # >8.0.4 does not support Python 3.6
        "urllib3<2", # issue 4614: urllib3 v2.0 only supports OpenSSL 1.1.1+
        "requests==2.31.0",
        "colorama==0.4.6",
        "semantic-version==2.8.5",  # >2.8.5 does not support Python 3.6
        "certifi==2023.5.7",
        # Misc
        "wheel==0.40.0",
    ],
    packages=find_packages(),
    entry_points={
        "console_scripts": [
            "installer = installer.__main__:main",
        ]
    },
)
